package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.BxfhdBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface BxfhdService extends BaseService<BxfhdBean> {

	BxfhdBean getBxfhdBeanById(String id) throws Exception;
	
	void removeBxfhdBeanById(String id) throws Exception;
	
	void removeBxfhdBeanByIds(String ids) throws Exception;
	
	BxfhdBean saveBxfhdBean(BxfhdBean crm) throws Exception;
	
	BxfhdBean updateBxfhdBean(BxfhdBean crm) throws Exception;
	
	Page<BxfhdBean>  findBxfhdBeanByCond(BxfhdBean bean,
			Page<BxfhdBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveBxfhdBeanExt(String sql) throws Exception;

	String findBxfhdBeanExtCreate(String tableName) throws Exception;

	String findBxfhdBeanExtEdit(String tableName, String id)
			throws Exception;

	String findBxfhdBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasBxfhdBeanExtData(String tableName, String id)
			throws Exception;
}